package com.zs.crmserver.model;

import java.io.Serializable;
import java.util.Date;

import com.zs.crmserver.commons.DictConvert;
import com.zs.crmserver.commons.UserConvert;
import lombok.Data;

/**
 * 线索跟踪记录表
 * t_clue_remark
 */
@Data
public class TClueRemark implements Serializable {
    /**
     * 主键，自动增长，线索备注ID
     */
    private Integer id;

    /**
     * 线索ID
     */
    private Integer clueId;

    /**
     * 跟踪方式
     */
    @DictConvert(dicType = "noteWay", targetField = "noteWayName")
    private Integer noteWay;
    private String noteWayName;

    /**
     * 跟踪内容
     */
    private String noteContent;

    /**
     * 跟踪时间
     */
    private Date createTime;

    /**
     * 跟踪人
     */
    @UserConvert(userNameField = "createName")
    private Integer createBy;
    private String createName;

    /**
     * 编辑时间
     */
    private Date editTime;

    /**
     * 编辑人
     */
    @UserConvert(userNameField = "editName")
    private Integer editBy;
    private String editName;

    /**
     * 删除状态（0正常，1删除）
     */
    private Integer deleted;

    private static final long serialVersionUID = 1L;
}